package com.heu.blood.security.dictenum;

/**
 * 功能描述：登录状态的确认
 *
 * @Author: lvyj
 * @Date: 2024/12/11 20:17
 */
public enum LoginStateEnum {
    SUCCESS_LOGIN("SUCCESS_LOGIN","登录成功"),
    PASSWORD_ERROR("PASSWORD_ERROR","密码错误"),
    NO_USER("NO_USER","用户不存在");


    private final String code;

    private final String value;

    LoginStateEnum(String code, String value){
        this.code=code;
        this.value=value;
    }

    public String code(){
        return code;
    }
    public String value(){
        return value;
    }
}
